package com.limingfeiyu.platform.management.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.limingfeiyu.common.web.PageTable;
import com.limingfeiyu.platform.management.entity.SysRoleMenu;
import com.limingfeiyu.platform.management.mapper.SysRoleMenuMapper;
import com.limingfeiyu.platform.management.service.ISysRoleMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

/**
 * <p>
 * 系统角色菜单 服务实现类
 * </p>
 *
 * @author 黎铭飞羽
 * @since 2024-03-02
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements ISysRoleMenuService {

	@Override
    public Page<SysRoleMenu> pageList(PageTable<SysRoleMenu> pageTable) {
        QueryWrapper<SysRoleMenu> userQw = new QueryWrapper<>();
        if (pageTable.getParam() != null) {
            userQw.lambda() ;
        }
        Page<SysRoleMenu> page = super.page(pageTable.getPage(), userQw);
        return page;
    }
}
